package com.kaiyiweitong.tongxing.activity.my.my_money;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.widget.GridLayoutManager;
import android.support.v7.widget.RecyclerView;
import android.widget.GridLayout;

import com.kaiyiweitong.tongxing.R;
import com.kaiyiweitong.tongxing.adapter.RechargeHistoryAdapter;
import com.kaiyiweitong.tongxing.base.BaseActivity;

/**
 * Created by Administrator on 2017/12/27 0027.
 */

public class WithdrawHistoryActivity extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_withdraw_history);

        RecyclerView rv = (RecyclerView) findViewById(R.id.rv_withdraw_history);
        rv.setLayoutManager(new GridLayoutManager(this, 1, GridLayout.VERTICAL, false));
        RechargeHistoryAdapter adapter = new RechargeHistoryAdapter(this);
        rv.setAdapter(adapter);
    }
}
